package com.util;

/**
 * 自动产生学号,工号
 */
public class SnGenerateUtil {
	public static String generateSn(int clazzId){
		String sn = "";
		sn = "S20190124" + clazzId + System.currentTimeMillis()%100;
		return sn;
	}
	public static String generateTeacherSn(int clazzId){
		String sn = "";
		sn = "T20190124" + clazzId + System.currentTimeMillis()%100;
		return sn;
	}
}
